package com.kaede.hayate.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.kaede.hayate.common.base.BaseEntity;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author Kaede
 * @since 2018-06-06
 */
@TableName("sys_authority")
public class Authority extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * url
     */
    private String url;
    /**
     * 方法名
     */
    private String method;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    @Override
    public String toString() {
        return "Authority{" +
        "url=" + url +
        ", method=" + method +
        "}";
    }
}
